package ru.spb.osll.myfit.client.service;

import com.google.gwt.user.client.rpc.AsyncCallback;
import ru.spb.osll.myfit.common.ComparisonResult;
import ru.spb.osll.myfit.common.Range;
import ru.spb.osll.myfit.common.chart.ChartData;

import java.util.List;
import java.util.Set;

public interface ChartComparisonServiceAsync {
  void getChartDataList(List<String> ids, AsyncCallback<List<ChartData>> async);

  void getComparators(AsyncCallback<Set<String>> async);

  void compare(String id, List<String> ids, Range range, AsyncCallback<ComparisonResult> async);
}
